<table>
<?php
foreach($results->result() as $row){
	echo "<tr>";
		echo "<td>Kode</td><td>" . $row->kode . "</td>";
	echo "</tr>";
	echo "<tr>";
	echo "<td>No Agenda</td><td>" . $row->no_agenda . "</td>";
	echo "</tr>";
	echo "<tr>";
	echo "<td>No Surat</td><td>" . $row->no_surat . "</td>";
	echo "</tr>";
	echo "<tr>";
	echo "<td>Tanggal Surat</td><td>" . $row->tgl_surat . "</td>";
	echo "</tr>";

	echo "<tr>";
	echo "<td>Keterangan</td><td>" . $row->keterangan . "</td>";
	echo "</tr>";
	echo "<tr>";
	echo "<td>Tujuan</td><td>" . $row->tujuan . "</td>";
	echo "</tr>";
	if ($row->kirim_ke!='0'){
		$res_t_admin=$this->mdl_t_admin->get_by_id($row->kirim_ke)->row();
		echo "<tr>";
		echo "<td>Kirim Ke</td><td>" . $res_t_admin->nama . "</td>";
		echo "</tr>";
	}
	echo "<tr>";
	echo "<td>Isi</td><td>" . $row->isi_ringkas . "</td>";
	echo "</tr>";
}

?>
</table>